package com.turtle.chapter01

/**
 * @author lijiayu
 * @date 2020/11/27
 * @description
 */
object TestScala {
  def main(args: Array[String]): Unit = {
    var name: String = "lijuiayu"
    var age: Int = 25
    var sal: Float = 100.6f
    var high: Double = 172.55

    println(name + age)
    printf("姓名=%s 年龄=%d 薪水=%.2f 身高=%.3f \n", name, age, sal, high)
    println(s"姓名$name 年龄$age")
  }
}
